package com.xxx.car.mapper;

import com.xxx.car.entity.TbRedpacketRule;
import com.xxx.car.entity.TbRedpacketRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbRedpacketRuleMapper {
    int countByExample(TbRedpacketRuleExample example);

    int deleteByExample(TbRedpacketRuleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbRedpacketRule record);

    int insertSelective(TbRedpacketRule record);

    List<TbRedpacketRule> selectByExample(TbRedpacketRuleExample example);

    TbRedpacketRule selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbRedpacketRule record, @Param("example") TbRedpacketRuleExample example);

    int updateByExample(@Param("record") TbRedpacketRule record, @Param("example") TbRedpacketRuleExample example);

    int updateByPrimaryKeySelective(TbRedpacketRule record);

    int updateByPrimaryKey(TbRedpacketRule record);
}